package com.haizhi.crm.biz.dao;

import com.haizhi.crm.biz.model.MessageClientDo;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * Created by wangshan on 2018/5/16.
 */
@Transactional
@Repository
public interface MessageClientDao extends JpaRepository<MessageClientDo, Long> {
    List<MessageClientDo> findByMessageId(Long messageId);

}
